<?php
return [
    'localhost' => '192.168.1.10',
    'serverName' => 'im-server-1',
    
    'http' => [
        'host' => '0.0.0.0',
        'port' => '9100',
        'swoole' => [],
        
        'tcpOnOff' => false, // true开启  false关闭
        'rpc' => [
            'host' => '127.0.0.1',
            'port' => '9200',
            'swoole' => [
                'worker_num' => 1
            ],
        ],
    ],
    'websocket' => [
        'host' => '0.0.0.0',
        'port' => '9200',
        'swoole' => [],
        'handShakeOnOff' => true,
        'rpcOnOff' => true,
        'rpc' => [
            'host' => '0.0.0.0',
            'port' => '8000',
            'swoole' => [
                'worker_num' => 1
            ],
        ]
    ],
    'routeServer' => [
        'host' => '192.168.1.10',
        'port' => '9500',
        'jwt' => [
            'key' => 'swocloud',
            'alg' => [
                'HS256'
            ]
        ],
    ]
];